home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / rs232pri.arc / RS232PRI.DOC
Encoding:
Text File  |  1987-09-25  |  28.4 KB  |  704 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.         Ian Friskney, BAS - Toronto, August 1987
  7.         RS232c Primer
  8.  
  9.  
  10.  
  11.  
  12.                                   RS232c PRIMER
  13.                                   -------------
  14.  
  15.         One of the more mysterious elements of our technical lives is the
  16.         workings of the RS232c communications interface. I will attempt
  17.         to clarify the operation of the subset of the RS232c interface
  18.         most commonly used.
  19.  
  20.         The most common application, today, of an RS232c communications
  21.         interface is to connect some sort of terminal to a computer. When
  22.         the interface was originally specified this was usually done via
  23.         a modem over telephone lines. At the time, computers were large
  24.         mainframes in central locations. All terminals were remote. The
  25.         interface specification was therefore developed to standardize
  26.         the interface between a terminal and a modem. The terminology of
  27.         the specification and the logic of the control signals is from
  28.         the perspective of the terminal.
  29.  
  30.         The simplest type of terminal to interface is an asynchronous
  31.         terminal. This is a terminal which does not require a clock
  32.         signal from the modem in order to interpret the data being
  33.         received. Asynchronous operation is possible with low speed data
  34.         transmissions and single level data encoding schemes. Timing of
  35.         the data is accomplished in an open loop fashion based on the
  36.         known bit rate of the encoded data and the detection of a start
  37.         bit which establishes a reference data transition. The data
  38.         transmission is ended with a stop bit. With ASCII, the data
  39.         encoding scheme we most commonly use, each data transmission
  40.         contains eight bits, or one byte, of data.
  41.  
  42.         The following information will discuss the RS232c interface only
  43.         as it pertains to asynchronous operation.
  44.  
  45.         EIA RS232c
  46.         ----------
  47.         The Electronic Industries Association (EIA) interface standard
  48.         RS232c defines the electrical, control handshaking, transmission
  49.         speed, signal rise time, and impedance parameters of the inter-
  50.         face between a Data Terminal Equipment (DTE) and a Data Commun-
  51.         ications Equipment (DCE). The specification is not concerned with
  52.         the format or content of the data. Nor is the specification
  53.         concerned with control of one DTE by another DTE.
  54.  
  55.         The types of equipment which are typically configured as DTEs
  56.         include video display terminals, printers, and computers. The
  57.  
  58.                                       - 1 -
  59.  
  60.  
  61.  
  62.  
  63.  
  64.         Ian Friskney, BAS - Toronto, August 1987
  65.         RS232c Primer
  66.  
  67.  
  68.         types of equipment which are DCEs include modems, multiplexers,
  69.         and switchers.
  70.  
  71.         ELECTRICAL INTERFACE
  72.         --------------------
  73.         The RS232c interface is a digital interface. Information is
  74.         represented by a signal being in one of two states. The voltage
  75.         levels used for the interface are:
  76.  
  77.                +3V to +25V  is logic 0 or SPACE   (High)
  78.  
  79.                -3V to -25V  is logic 1 or MARK    (Low)
  80.  
  81.                The signal levels typically used are +12V for SPACE
  82.                and -12V for MARK.
  83.  
  84.         The terminology of the interface is inverted from that of the
  85.         digital logic we are more accustomed to. That is; if a data bit
  86.         or control signal is set "on" in the digital logic, then the
  87.         voltage level at the RS232c interface will go to SPACE. In an
  88.         effort to minimize confusion, I will refer to signals as being
  89.         "High" or "Low".
  90.  
  91.         A voltage level between -3V and +3V is considered to be undefined
  92.         or "floating". For a signal to be considered to have switched
  93.         from say, Low to High, the voltage level of the signal must have
  94.         become greater than +3V. If the voltage went from -12V to 0V the
  95.         signal would still be at a Low condition.
  96.  
  97.         A signal line which is an output is held Low when not active.
  98.         This is true for both control lines and data lines. A signal line
  99.         which is an input is allowed to float and would  measure 0V if
  100.         metered without an external input connected to it.
  101.  
  102.         PHYSICAL CONNECTION
  103.         -------------------
  104.         The physical connection of the DTE to the DCE is made through a
  105.         25 pin D subminiature connector. Usually known as simply a DB-25
  106.         connector. The connector on a DTE should be a male connector or
  107.         plug; the connector on a DCE should be a female connector or
  108.         receptacle.
  109.  
  110.         The specification recommends a maximum cable length between DTE
  111.         and DCE of 50 feet. The limiting factor is the total load capac-
  112.         itance of cable and input circuits of the interface. The maximum
  113.         shunt capacitance is specified as 2500 pF. Special low capac-
  114.         itance cables are available which effectively increase the max-
  115.  
  116.                                       - 2 -
  117.  
  118.  
  119.  
  120.  
  121.  
  122.         Ian Friskney, BAS - Toronto, August 1987
  123.         RS232c Primer
  124.  
  125.  
  126.         imum cable length. A typical claim made for these cables is a
  127.         maximum cable length of 500 feet at 9,600 bps.
  128.  
  129.         CONTROL HANDSHAKING
  130.         -------------------
  131.         As mentioned earlier, the logic of the control signals is based
  132.         on the interfacing of a terminal to a modem. That is; the connec-
  133.         tion of DTE to DCE. To fully implement the asynchronous interface
  134.         requires eight signal lines. When a DTE is directly connected to
  135.         a DCE there is a one-to-one correspondence of the signal lines.
  136.         The following diagram illustrates the relationship:
  137.  
  138.                 DTE                                         DCE
  139.  
  140.                TD   2 -->----------------------------->--  2 TD
  141.                RD   3 --<-----------------------------<--  3 RD
  142.                RTS  4 -->----------------------------->--  4 RTS
  143.                CTS  5 --<-----------------------------<--  5 CTS
  144.                DSR  6 --<-----------------------------<--  6 DSR
  145.                SG   7 -----------------------------------  7 SG
  146.                DCD  8 --<-----------------------------<--  8 DCD
  147.                DTR 20 -->----------------------------->-- 20 DTR
  148.  
  149.  
  150.  
  151.                              INTERFACING DTE TO DCE
  152.  
  153.  
  154.         The numbers indicate the standard pin assignments. The arrow
  155.         heads indicate which pins are outputs and which are inputs. The
  156.         key to understanding the relationship of the signals is to note
  157.         that, while the pin numbers and designations are identical on the
  158.         DTE and DCE, the signal direction (i.e. whether it is an input or
  159.         an output) reverses.
  160.  
  161.         The pin designations are mnemonics whose meaning is derived from
  162.         the original usage of RS232 as an interface between a terminal
  163.         and a modem.
  164.  
  165.           Transmit Data (TD) - Serial data stream originating from the
  166.           DTE, being passed to the DCE for transmission.
  167.  
  168.           Receive Data (RD) - Serial data stream received by the DCE,
  169.           being passed to the DTE.
  170.  
  171.           Request-To-Send (RTS) - Control signal originating from the
  172.           DTE. The DTE "requests" permission to begin sending serial
  173.           data. When RTS goes High, the DCE begins sending a carrier
  174.  
  175.                                       - 3 -
  176.  
  177.  
  178.  
  179.  
  180.  
  181.         Ian Friskney, BAS - Toronto, August 1987
  182.         RS232c Primer
  183.  
  184.  
  185.           signal on the transmission line. At the same time, a CTS timer
  186.           in the DCE is initiated. The CTS timer allows time for the
  187.           carrier signal to propagate along the transmission path and
  188.           stabilize before data is modulated onto the carrier. RTS must
  189.           remain High until the data transmission is completed. When the
  190.           DTE drops RTS, the DCE will stop sending carrier.
  191.  
  192.           Clear-To-Send (CTS) - Control signal originating from the DCE.
  193.           When the CTS timer expires, the DCE sets CTS high to signal
  194.           "permission granted" to the DTE to send data. The DTE will send
  195.           data only while CTS is High.
  196.  
  197.           Data-Set-Ready (DSR) - Control signal originating from the DCE.
  198.           This is a signal indicating the status of the DCE itself. DSR
  199.           must be High for the DTE to initiate a transmission with RTS or
  200.           respond to the DCD signal.
  201.  
  202.           Signal Ground (SG) - Control signal common between DTE and DCE.
  203.  
  204.           Data-Carrier-Detect (DCD) - Control signal originating from the
  205.           DCE. When the DCE detects a carrier signal on the transmission
  206.           line a Carrier-Turnon-Delay timer is initiated. The timer acts
  207.           as a filter of spurious carrier signals. When the timer expires
  208.           the DCD line is raised High. This signals the DTE that data is
  209.           on its way. With the presence of DCD the DTE will "look" at the
  210.           RD line for data. DCD must remain High for the DTE to accept
  211.           data.
  212.  
  213.           Data-Terminal-Ready (DTR) - Control signal originating from the
  214.           DTE. This is a signal indicating the status of the DTE itself.
  215.           DTR must be High for the DCE to respond to the RTS signal.
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.                                       - 4 -
  234.  
  235.  
  236.  
  237.  
  238.  
  239.         Ian Friskney, BAS - Toronto, August 1987
  240.         RS232c Primer
  241.  
  242.  
  243.                _____________________________________________________________
  244.         DSR   |
  245.             __|
  246.                _____________________________________________________________
  247.         DTR   |
  248.             __|
  249.                ____________________________
  250.         RTS   |                            |
  251.             __|                            |________________________________
  252.                    ________________________
  253.         CTS       |                        |
  254.             ______|                        |________________________________
  255.                         _   ___       ___
  256.         TD             | | |   |     |   |
  257.            ____________| |_|   |_____|   |__________________________________
  258.                        | |lsb          msb |
  259.                        | |  8 bits Data  | |
  260.  
  261.                           > Start Bit       > Stop Bit
  262.  
  263.  
  264.                               TRANSMIT DATA TIMING
  265.  
  266.  
  267.               ______________________________________________________________
  268.         DSR  |
  269.            __|
  270.               ______________________________________________________________
  271.         DTR  |
  272.            __|
  273.                   _________________________
  274.         DCD      |                         |
  275.            ______|                         |________________________________
  276.                         _   ___       ___
  277.         RD             | | |   |     |   |
  278.            ____________| |_|   |_____|   |__________________________________
  279.                        | |lsb          msb |
  280.                        | |  8 Bits Data  | |
  281.  
  282.                           > Start Bit       > Stop Bit
  283.  
  284.  
  285.                                RECEIVE DATA TIMING
  286.  
  287.  
  288.  
  289.  
  290.  
  291.                                       - 5 -
  292.  
  293.  
  294.  
  295.  
  296.  
  297.         Ian Friskney, BAS - Toronto, August 1987
  298.         RS232c Primer
  299.  
  300.  
  301.         CONNECTING DTE TO DTE
  302.         ---------------------
  303.         A common application of the RS232c interface is to interconnect
  304.         two DTEs without benefit of modems. In order to successfully do
  305.         this, one must bear in mind the meaning of the signal lines.
  306.         The first point to note is that the transmitted data of one must
  307.         become the received data of the other, and vice versa. The second
  308.         point is that the handshaking logic must be satisfied. The fol-
  309.         lowing diagram illustrates the appropriate cross connections.
  310.  
  311.                 DTE                                         DTE
  312.  
  313.                TD   2 -->----------------------------->--  3 RD
  314.                RD   3 --<-----------------------------<--  2 TD
  315.                RTS  4 -->--+-------------------------->--  8 DCD
  316.                CTS  5 --<--+
  317.                DSR  6 --<-----------------------------<-- 20 DTR
  318.                SG   7 -----------------------------------  7 SG
  319.                DCD  8 --<-------------------------+---<--  4 RTS
  320.                                                   +--->--  5 CTS
  321.                 TR 20 -->----------------------------->--  6 DSR
  322.  
  323.  
  324.                               DTE TO DTE CONNECTION
  325.  
  326.         The DTE on the right has had its pin numbers reordered in order
  327.         to simplify the appearance of the drawing.
  328.  
  329.         This cable configuration is known variously as a "Null Modem" or
  330.         a "Cross Connect Cable".
  331.  
  332.         CONNECTING DCE TO DCE
  333.         ---------------------
  334.         Connecting DCE directly to DCE is a less common arrangement than
  335.         the other two configurations. The same rules apply as for the DTE
  336.         to DTE configuration. The following diagram illustrates the
  337.         appropriate cross connections.
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.                                       - 6 -
  350.  
  351.  
  352.  
  353.  
  354.  
  355.         Ian Friskney, BAS - Toronto, August 1987
  356.         RS232c Primer
  357.  
  358.  
  359.                 DCE                                         DCE
  360.  
  361.                TD   2 --<-----------------------------<--  3 RD
  362.                RD   3 -->----------------------------->--  2 TD
  363.                RTS  4 --<-----------------------------<--  8 DCD
  364.                CTS  5 -->- N.C.
  365.                DSR  6 -->----------------------------->-- 20 DTR
  366.                SG   7 -----------------------------------  7 SG
  367.                DCD  8 -->----------------------------->--  4 RTS
  368.                                                 N.C. -<--  5 CTS
  369.                DTR 20 --<-----------------------------<--  6 DSR
  370.  
  371.  
  372.                               DCE TO DCE CONNECTION
  373.  
  374.         The DCE on the right has its pin numbers reordered in order to
  375.         simplify the appearance of the drawing.
  376.  
  377.         FLOW CONTROL
  378.         ------------
  379.         It must be understood that the control signal handshaking orig-
  380.         inated to regulate the usage of a half-duplex transmission med-
  381.         ium. That is the lowest common denominator of the communications
  382.         world. A half-duplex medium is one on which a carrier can be sent
  383.         in only one direction at a time. The modems are normally in a
  384.         "listening" mode and can only send out a carrier if no other
  385.         carrier exists on the transmission line. The hand shaking is
  386.         primarily concerned with controlling, or signalling the presence
  387.         of, the carrier. This carrier control is also required in a
  388.         multi-drop application where more than two modems must share the
  389.         same transmission line. The handshaking does not provide end-to-
  390.         end flow control between the DTE.
  391.  
  392.         End-to-end flow control is the responsibility of the DTE data
  393.         protocol. This is outside the definition of RS232c but does
  394.         require some discussion here.
  395.  
  396.         End-to-end flow control is generally accomplished with the
  397.         Xon/Xoff protocol. These are specific ASCII characters which are
  398.         transmitted as part of the data stream between DTE. DTE which use
  399.         Xon/Xoff must have input data buffers. Data is placed in the
  400.         input buffer at the rate of the communications link. If the DTE
  401.         cannot process the data as fast as it enters the buffer, the
  402.         buffer will begin to fill up. When the buffer reaches a certain
  403.         percentage of full, the DTE must temporarily stop receiving data.
  404.         It will send the Xoff character to the sending DTE. The Xoff is
  405.         sent before the input buffer is 100% full because there will be a
  406.         significant delay before the Xoff can be received and processed
  407.  
  408.                                       - 7 -
  409.  
  410.  
  411.  
  412.  
  413.  
  414.         Ian Friskney, BAS - Toronto, August 1987
  415.         RS232c Primer
  416.  
  417.  
  418.         at the sending DTE. In the mean time the data transmissions will
  419.         have continued.
  420.  
  421.         The sending DTE will suspend transmissions until an Xon character
  422.         is received. When the input buffer is emptied the receiving DTE
  423.         will send an Xon.
  424.  
  425.         OTHER COMMUNICATIONS PARAMETERS
  426.         -------------------------------
  427.         There are several other parameters which are encountered when
  428.         configuring a RS232c connection, which are not part of the RS232
  429.         specification. These parameters deal with the data protocol being
  430.         used by the DTE and DCE and terminal and modem setup.
  431.  
  432.           Bit Rate
  433.           --------
  434.           The bit rates (frequently called baud rate) of a pair of inter-
  435.           connected equipment must be the same. The bit rate of the RS232
  436.           port is independent of, and has no direct relationship to,
  437.           other timing parameters in a piece of equipment or a system. A
  438.           common problem is encountered with printers where the printer
  439.           is capable of printing at, for example, 30 characters per
  440.           second (cps) but the RS232 interface has been set at 9600 bits
  441.           per second (960 cps). All goes well until the input buffer
  442.           overflows; at which point, if Xon/Xoff flow control is not
  443.           implemented, the incoming data is thrown away.
  444.  
  445.           The point to remember is if end-to-end flow control is not
  446.           available, the bit rate must be compatible with the slowest
  447.           element of the system.
  448.  
  449.           Number of Data Bits
  450.           -------------------
  451.           The number of data bits per character used by a pair of inter-
  452.           connected equipment must be the same. With ASCII data the
  453.           number of data bits is either 7 bits or 8 bits. The standard
  454.           ASCII table requires only 7 bits to represent all its charac-
  455.           ters. The most significant bit, the eighth bit, is used for a
  456.           parity check of the first seven. When an extended group of
  457.           ASCII characters are used the eighth bit is used to provide an
  458.           additional 128 characters. The extended ASCII characters are
  459.           generally unique to a particular manufacturer's equipment.
  460.           Control codes and Function buttons typically generate extended
  461.           ASCII codes. When the eighth bit is used for data there is no
  462.           parity check of the data bits.
  463.  
  464.  
  465.  
  466.  
  467.                                       - 8 -
  468.  
  469.  
  470.  
  471.  
  472.  
  473.         Ian Friskney, BAS - Toronto, August 1987
  474.         RS232c Primer
  475.  
  476.  
  477.           Odd or Even Parity
  478.           ------------------
  479.           The parity of a pair of inter-connected equipment must be the
  480.           same. The parity bit is the eighth data bit. It is only used if
  481.           7 bits of data has been specified. The parity bit is set or
  482.           reset to give the total 8 bit data byte either an odd or even
  483.           bit count. For example if even parity is chosen, the data "3C"
  484.           would be transmitted as "3C". The data "1C" would be trans-
  485.           mitted as "9C". The most significant bit, bit eight, would be
  486.           set to give the data byte an even bit count.
  487.  
  488.           If eight bits data has been chosen, the odd/even parity choice
  489.           is a "don't care".
  490.  
  491.           Number of Stop Bits
  492.           -------------------
  493.           The number of stop bits will normally be one. The choice is a
  494.           throwback to earlier mechanical DTE such as teletypes which
  495.           required two stop bits. Modern electronic equipment almost
  496.           invariably uses one stop bit.
  497.  
  498.           Xon/Xoff Flow-Control
  499.           ---------------------
  500.           If available, this parameter should be selected. This is the
  501.           preferred method of accomplishing flow-control. For flow con-
  502.           trol to work, both DTE of a pair of DTE must have Xon/Xoff
  503.           enabled.
  504.  
  505.           Modem Timers - Leased Line
  506.           --------------------------
  507.           There are three timers likely to be encountered in a leased
  508.           line modem. The Clear-To-Send timer determines the delay bet-
  509.           ween when a modem receives the RTS signal and begins transmit-
  510.           ting carrier, until it signals CTS to the DTE. This timer value
  511.           must be sufficient to allow the carrier signal time to prop-
  512.           agate to the remote DCE and for the remote DCE to raise its DCD
  513.           signal.
  514.  
  515.           The Carrier Detect Delay timer determines the delay between
  516.           when a carrier is first received and when the DCD signal is
  517.           raised. The timer value is chosen to give sufficient time for
  518.           the carrier signal to stabilize. The timer also acts as a
  519.           filter of spurious signals. The CTS timer of the transmitting
  520.           modem must be of longer duration then the DCD delay timer in
  521.           the receiving modem.
  522.  
  523.           The Carrier Turnoff Delay timer is used to maintain a carrier
  524.           signal on the transmission line for a short period of time
  525.  
  526.                                       - 9 -
  527.  
  528.  
  529.  
  530.  
  531.  
  532.         Ian Friskney, BAS - Toronto, August 1987
  533.         RS232c Primer
  534.  
  535.  
  536.           after the RTS signal goes low. This delay allows time for the
  537.           data to complete propagating to the remote modem.
  538.  
  539.           Modem Timers - Dial-Up
  540.           ----------------------
  541.           There are three timers of particular significance in dial-up
  542.           modems. The Connect Delay timer is initiated when a modem
  543.           completes dialing a number. The delay is the maximum amount of
  544.           time the modem will wait for an answering carrier from a remote
  545.           modem. This value is typically defaulted to 30 seconds. This
  546.           timer often must be made larger if long distance connections
  547.           are being attempted.
  548.  
  549.           The Carrier Detect Delay timer determines how long a carrier
  550.           signal must be present before the receiving modem will recog-
  551.           nize it. This timer is initiated each time a carrier signal is
  552.           detected. A typical default value is 600 ms., which is normally
  553.           sufficient.
  554.  
  555.           The Carrier Loss Delay timer is used to detect a loss of car-
  556.           rier from a remote modem. When the timer expires the local
  557.           modem is hung up. The timer allows short duration carrier
  558.           dropouts to occur without initiating a disconnect. The value of
  559.           this timer must be greater then the Carrier Detect Delay timer.
  560.  
  561.         Baud Rate
  562.         ---------
  563.         Baud rate is a measure of transmission rate. It is used to spec-
  564.         ify the signal rate on a transmission line. It is frequently
  565.         mistakenly used to refer to the data rate of the RS232 interface.
  566.         The data rate is measured in bits per second. A baud is a signal
  567.         element which can be encoded with one or more bits.
  568.  
  569.         A transmission line's baud rate is limited by its bandwidth. The
  570.         typical transmission line is a voice grade telephone line with a
  571.         bandwidth of approximately 2700 Hz. This puts a practical limit,
  572.         of approximately 2000 Bd., on the baud rate. If a modem uses a
  573.         modulation scheme which produces a one to one equivalency in bps
  574.         and baud, the RS232 data rate will be limited to 2000 bps. One
  575.         such scheme is Frequency Shift Keying (FSK). In this scheme, the
  576.         two different data levels are represented by two different fre-
  577.         quencies. The lower frequency must be at least equal to the data
  578.         rate. This is the least expensive modulation scheme to implement.
  579.         This is the reason for 1200 baud being the most commonly used
  580.         telephone data rate.
  581.  
  582.         In order to transmit at higher data rates, each element of the
  583.         transmission signal must be encoded with more than one bit. As an
  584.  
  585.                                      - 10 -
  586.  
  587.  
  588.  
  589.  
  590.  
  591.         Ian Friskney, BAS - Toronto, August 1987
  592.         RS232c Primer
  593.  
  594.  
  595.         example the most common encoding method used to transmit data at
  596.         2400 bps is Phase Shift Keying (PSK). In this scheme the data is
  597.         sampled two bits at a time. The samples are known as dibits.
  598.         There are four possible dibits; 00, 01, 10, 11. The dibits are
  599.         applied to a phase shifter which changes the phase angle of the
  600.         carrier signal by one of four possible phase shifts. The phase
  601.         shifts are 90 degrees apart. The result is a complex-frequency
  602.         signal of 1200 baud.
  603.  
  604.         WHEN RS232 IS NOT RS232
  605.         -----------------------
  606.         The main stumbling block to successfully interfacing to devices
  607.         equipped with RS232 ports, is the variety of ways the ports may
  608.         be implemented while still claiming to be RS232. Armed with an
  609.         understanding of the RS232 specification, it is sometimes pos-
  610.         sible to work around the limitations of a modified RS232 port.
  611.         The following table gives some common corruptions of the RS232
  612.         specification and possible workarounds when connecting to a fully
  613.         implemented RS232 port.
  614.  
  615.                  MODIFICATION               LIMITATION or WORK-AROUND
  616.         ----------------------------------------------------------------
  617.           Female type D connector on      Make up cable with male con-
  618.           DTE.                            nector.
  619.  
  620.           9 pin D connector.              Make up cable (or use adapter
  621.                                           cable) with 9 pin connector.
  622.  
  623.           Non-standard pinout.            Make up cable with appro-
  624.                                           priate pinout.
  625.  
  626.           A terminal, CPU, printer,       When connecting a modem to
  627.           etc. with its port configured   this device, use a cable
  628.           as DCE.                         normally intended to inter-
  629.                                           connect two DCEs.
  630.                                           When connecting another DTE
  631.                                           to this device, use a one-to-
  632.                                           one cable.
  633.  
  634.           A DTE whose RTS line is         This terminal cannot be used
  635.           always high.                    with DCE requiring a switched
  636.                                           RTS. Such DCEs are half-
  637.                                           duplex modems, multi-drop
  638.                                           modems, and port switchers.
  639.  
  640.           A DTE whose DTR line is         Not normally a problem.
  641.           always high.
  642.  
  643.  
  644.                                      - 11 -
  645.  
  646.  
  647.  
  648.  
  649.  
  650.         Ian Friskney, BAS - Toronto, August 1987
  651.         RS232c Primer
  652.  
  653.  
  654.           A DTE whose DTR line is not     Jumper DSR to DTR on the DCE.
  655.           present.
  656.  
  657.           A DTE which is not controlled   Data from this terminal will
  658.           by CTS. i.e. CTS will be        be lost if the DCE is not
  659.           assumed to be high all the      ready to transmit data as
  660.           time.                           soon as RTS is raised.
  661.  
  662.           A DTE which ignores the DSR     The DTE will not be able to
  663.           line.                           detect the readiness of the
  664.                                           DCE.
  665.  
  666.           A DTE which is not controlled   The DTE may receive spurious
  667.           by DCD. i.e. DCD will be        data on the RD line. The DTE
  668.           assumed to be high all the      may not be able to detect a
  669.           time.                           connect with dial-up modems.
  670.  
  671.           Interface uses 0V as Low        Will not work with a port
  672.           signal and 5V as High signal.   configured to meet the RS232c
  673.                                           specification.
  674.  
  675.           A DCE whose DSR signal is       The DTE will not be able to
  676.           high all the time.              detect the status of the DCE.
  677.  
  678.           A DCE whose DCD signal is       The DTE will not be able to
  679.           high all the time.              detect a connect condition on
  680.                                           a dial-up modem.
  681.  
  682.           A DCE whose DSR signal is not   The DTE will not respond to
  683.           present.                        the DCE. Jumper DTR to DSR at
  684.                                           the DTE to satisfy the DTE.
  685.  
  686.           A DCE whose CTS signal is not   A problem with command mode
  687.           present or is low.              of some dial-up modems.
  688.                                           Jumper CTS to RTS at the DTE
  689.                                           to satisfy the DTE.
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.                                      - 12 -
  703.  
  704.